import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
// import { fetchUserInfo } from './shared/actions/userInfoAction.js';
import store from './store';
import Routers from 'routers';

// import 'shared/style/index.less';
import './views/style/index.less';
import 'flex.css/dist/data-flex.css';

// store.dispatch(fetchUserInfo()).then(() => {
  ReactDOM.render(
    <Provider store={store}>
      <Routers store={store} />
    </Provider>,
    document.getElementById('root')
  );
// });


